<?php
/**
 * @version		$Id: view.html.php 25 2010-09-08 15:16:11Z joomlaworks $
 * @package		K2mart
 * @author    JoomlaWorks http://www.joomlaworks.gr
 * @copyright	Copyright (c) 2006 - 2010 JoomlaWorks, a business unit of Nuevvo Webware Ltd. All rights reserved.
 * @license		Commercial - This code cannot be redistributed without permission from Nuevvo Webware Ltd.
 */

// no direct access
defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.view');

class K2martViewSettings extends JView {

	function display($tpl = null) {

		JHTML::_('behavior.tooltip');
		jimport('joomla.html.pane');
		$model = &$this->getModel();
		$params = &$model->getParams();
		$this->assignRef('params', $params);
		$pane = & JPane::getInstance('Tabs');
		$this->assignRef('pane', $pane);
		JToolBarHelper::title(':: '.JText::_('Settings'), 'k2mart.png');
		JToolBarHelper::save();
		JToolBarHelper::cancel();
		JSubMenuHelper::addEntry(JText::_('Dashboard'), 'index.php?option=com_k2mart&view=dashboard');
		JSubMenuHelper::addEntry(JText::_('Settings'), 'index.php?option=com_k2mart&view=settings', true);
		JSubMenuHelper::addEntry(JText::_('Virtuemart Migrator'), 'index.php?option=com_k2mart&view=migrator');
		parent::display($tpl);
	}

}
